package com.neu.elm.service.impl;

import com.neu.elm.mapper.FoodMapper;
import com.neu.elm.po.Food;
import com.neu.elm.service.FoodService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Author:csw
 * @Date: 9:07 2020/9/16
 */
@Service
public class FoodServiceImpl implements FoodService {

    @Resource
    private FoodMapper foodMapper;

    @Override
    public List<Food> listFoodByBusinessId(Integer businessId) {
        return foodMapper.listFoodByBusinessId(businessId);
    }
}
